package com.atcx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author pangShu
 * @since 2022-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Achievement implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    @TableField("userId")
    private Integer userid;
    @TableField("classId")
    private Integer classid;

    private BigDecimal math;

    private BigDecimal computer;

    private BigDecimal web;
    private BigDecimal english;

    private BigDecimal clanguage;

    //总成绩
    private BigDecimal total;

    private Integer ranking;

    private BigDecimal average;
    //未及格科目数
    private int failcount;
    //不及格科目
    @TableField("failSubject")
    private String failSubject;


}
